package com.ibeeking.found.id.rest.model;

import java.io.Serializable;

/**
 * @ClassName SnowflakeModel
 * @Description
 * @Author ibeeking
 * @Date 2020-07-16 9:04
 **/
public class SnowflakeModel implements Serializable {
    private static final long serialVersionUID = 1L;

    private long workerId;

    private long dataCenterId;

    public long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(long workerId) {
        this.workerId = workerId;
    }

    public long getDataCenterId() {
        return dataCenterId;
    }

    public void setDataCenterId(long dataCenterId) {
        this.dataCenterId = dataCenterId;
    }

    @Override
    public String toString() {
        return "SnowflakeModel{" +
                "workerId=" + workerId +
                ", dataCenterId=" + dataCenterId +
                '}';
    }
}
